package com.mazaiting.ftp.domain.entity;

/**
 * 文件上传下载实体
 *
 * @author mazaiting
 * @create_time 2022/4/21 15:56
 */
public class FileEntity {
    /**
     * 本地文件名(*必填)
     */
    private String localFileName;

    /**
     * 本地路径名(*必填)
     */
    private String localDir;

    /**
     * 远程文件名(远程文件名为空时，使用本地文件名代替)
     */
    private String remoteFileName;

    /**
     * 远程路径名(*必填)
     */
    private String remoteDir;

    public FileEntity() {}

    public FileEntity(String localDir, String localFileName, String remoteDir, String remoteFileName) {
        this.localFileName = localFileName;
        this.localDir = localDir;
        this.remoteFileName = remoteFileName;
        this.remoteDir = remoteDir;
    }

    public String getLocalFileName() {
        return localFileName;
    }

    public void setLocalFileName(String localFileName) {
        this.localFileName = localFileName;
    }

    public String getLocalDir() {
        return localDir;
    }

    public void setLocalDir(String localDir) {
        this.localDir = localDir;
    }

    public String getRemoteFileName() {
        return remoteFileName;
    }

    public void setRemoteFileName(String remoteFileName) {
        this.remoteFileName = remoteFileName;
    }

    public String getRemoteDir() {
        return remoteDir;
    }

    public void setRemoteDir(String remoteDir) {
        this.remoteDir = remoteDir;
    }
}
